<!DOCTYPE html>
<html>
<head>
    <title>售后退货退款表</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
			<#if shiro.hasPermission("service:servicereceivegoods:save")>
            <a class="btn btn-primary btn-sm" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("service:servicereceivegoods:update")>
            <a class="btn btn-primary btn-sm" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("service:servicereceivegoods:delete")>
            <a class="btn btn-primary btn-sm" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">关联售后id</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgSrId" placeholder="关联售后id"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">收货状态（1.待审核2.待收货 3.待检测 4.待入库 5.已入库)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgStatus" placeholder="收货状态（1.待审核2.待收货 3.待检测 4.待入库 5.已入库)"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">收货单号</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgReceiveCode" placeholder="收货单号"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">收货时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgReceiveTime" placeholder="收货时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">收货人</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgReceiveName" placeholder="收货人"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">商品id(sku)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgProductId" placeholder="商品id(sku)"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">商品名称</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgGoodsName" placeholder="商品名称"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">商品数量</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgQuantity" placeholder="商品数量"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">已签收数量</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgSignQuantity" placeholder="已签收数量"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">检测人（员工id）</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgCheckName" placeholder="检测人（员工id）"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">检测时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgCheckTime" placeholder="检测时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">检测结果</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgCheckResult" placeholder="检测结果"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">入库人（员工id）</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgInStockName" placeholder="入库人（员工id）"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">入库时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgInStockTime" placeholder="入库时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">入库仓库（仓库id）</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgStockId" placeholder="入库仓库（仓库id）"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">伪删除标记（0正常 1删除）</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgDel" placeholder="伪删除标记（0正常 1删除）"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">更新人（员工id）</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgUpdateName" placeholder="更新人（员工id）"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">更新时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgUpdateTime" placeholder="更新时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">创建人（员工id）</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgCreateName" placeholder="创建人（员工id）"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">创建时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control input-sm" v-model="serviceReceiveGoods.srgCreateTime" placeholder="创建时间"/>
                        </div>
                    </div>
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary  btn-sm" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning  btn-sm" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/service/servicereceivegoods.js?_${.now?long}"></script>
</body>
</html>